﻿//IProtectiveStrategy.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Algo.Strategies
{
	using System;

	using StockSharp.BusinessEntities;

	/// <summary>
	/// Интерейс защитной стратегии.
	/// </summary>
	public interface IProtectiveStrategy
	{
		/// <summary>
		/// Защищаемый объем.
		/// </summary>
		decimal ProtectiveVolume { get; set; }

		/// <summary>
		/// Событие об изменении защищаемого объема.
		/// </summary>
		event Action ProtectiveVolumeChanged;

		/// <summary>
		/// Защищаемая сделка.
		/// </summary>
		MyTrade Trade { get; }
	}
}